package com.example.service;

import com.example.common.R;
import com.example.entity.ShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 购物车 服务类
 * </p>
 *
 * @author lw
 * @since 2023-01-31
 */
public interface ShoppingCartService extends IService<ShoppingCart> {

    R<ShoppingCart> addCar(ShoppingCart shoppingCart);


    R<List<ShoppingCart>> getList();

    R<String> clean();
}
